﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceMaintainGIS.Model.Replace
{
    /// <summary>
    /// 维修换新信息
    /// </summary>
    public class ReplaceResponse
    {

        /// <summary>
        /// 报修编号
        /// </summary>
        public string RepairId { get; set; }
        /// <summary>
        /// 服务安排 1去现场 2不去现场
        /// </summary>
        public int FixUp { get; set; }
        /// <summary>
        /// 维修换新添加时间
        /// </summary>
        public DateTime AddTime { get; set; }
        /// <summary>
        /// 维修换新ID
        /// </summary>
        public string Guid { get; set; }
        /// <summary>
        /// 操作步骤
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 维修换新设备集合
        /// </summary>
        public List<ReplaceDevInfo> ReplaceInfoList { get; set; }

        /// <summary>
        /// 出现场用户
        /// </summary>
        public string userIDs { get; set; }
        /// <summary>
        /// 车牌
        /// </summary>
        public string PlateNumber { get; set; }
        /// <summary>
        /// 出现场时间
        /// </summary>
        public System.DateTime SceneTime { get; set; }
        /// <summary>
        /// 截止时间
        /// </summary>
        public System.DateTime EndTime { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public int OperatorID { get; set; }
        /// <summary>
        /// 操作人姓名
        /// </summary>
        public string OperatorName { get; set; }
        /// <summary>
        /// 提交状态
        /// </summary>
        public int State { get; set; }
    }
    /// <summary>
    /// 维修换新查询信息
    /// </summary>
    public class ReplaceSelectRequest
    {
        public ReplaceSelectRequest()
        {
            this.PageIndex = 1;
            this.PagesSize = 20;
            //this.NextOperatorID = 0;
            this.Step = -1;
        }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 当前显示多少条
        /// </summary>
        public int PagesSize { get; set; }
        ///// <summary>
        ///// 下一步操作人
        ///// </summary>
        //public int NextOperatorID { get; set; }
        /// <summary>
        /// 操作步骤
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 维修换新ID
        /// </summary>
        public string Guid { get; set; }
        /// <summary>
        /// 报修编号
        /// </summary>
        public string RepairId { get; set; }
    }
}
